package com.lagou.homework3_1;

import org.apache.hadoop.io.WritableComparable;
import org.apache.hadoop.io.WritableComparator;

public class SortGroupingComparator extends WritableComparator {
    public SortGroupingComparator() {
        super(Number.class, true);
    }
// 不同的key进入同一组reduce  这里所有的key都进入一个reduce
    @Override
    public int compare(WritableComparable a, WritableComparable b) {
        return 0;
    }
}
